<template>
  <div class="we_component we_banner">
    <div class="swiper-container" style="height:250px;">
      <div class="swiper-wrapper">
        <div v-for="obj,n in data.imgList" class="swiper-slide">
          <a :href="obj.link"><img :src="obj.url" alt="" width="100%" height="100%"></a>
          <h4 v-if="obj.title" class="swiper-title">{{obj.title}}</h4>
        </div>
      </div>
      <div class="swiper-pagination"></div>
    </div>
  </div>
</template>
<script>
  export default {
    props: ['data']
  }
</script>
